HOW TO ADD TWO DATES IN PHP

101

combine date and time in php -

$combinedDT = date('Y-m-d H:i:s', strtotime("$date $time"));
                                            ^           ^

Comments

Submit
0 Comments